package com.secsys.dto;

import java.util.Date;

import com.secsys.model.TbStoStock;
public class StoStockDTO implements java.io.Serializable {
	private static final long serialVersionUID = -881338272509495346L;
	private Integer id;
	private String stockCode;
	private String stockName;
	private String stockBoard;
	private String stockType;
	private Date listingDate;
	private String manageArea;
	private String mainOperation;
	private String companyNameZh;
	private String companyNameEn;
	private String description;

	
	
	public StoStockDTO() {
		super();
	}

	public StoStockDTO(TbStoStock tbStoStock) {
		this.id = tbStoStock.getId();
		this.stockCode = tbStoStock.getStockCode();
		this.stockName = tbStoStock.getStockName();
		this.stockBoard = tbStoStock.getStockBoard();
		this.stockType = tbStoStock.getStockType();
		this.listingDate = tbStoStock.getListingDate();
		this.manageArea = tbStoStock.getManageArea();
		this.mainOperation = tbStoStock.getMainOperation();
		this.companyNameZh = tbStoStock.getCompanyNameZh();
		this.companyNameEn = tbStoStock.getCompanyNameEn();
		this.description = tbStoStock.getDescription();
	}
	
	public StoStockDTO(Integer id, String stockCode, String stockName,
			String stockBoard, String stockType, Date listingDate,
			String manageArea, String mainOperation, String companyNameZh,
			String companyNameEn, String description) {
		super();
		this.id = id;
		this.stockCode = stockCode;
		this.stockName = stockName;
		this.stockBoard = stockBoard;
		this.stockType = stockType;
		this.listingDate = listingDate;
		this.manageArea = manageArea;
		this.mainOperation = mainOperation;
		this.companyNameZh = companyNameZh;
		this.companyNameEn = companyNameEn;
		this.description = description;
	}


	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * 股票代码
	 * @return
	 */
	public String getStockCode() {
		return this.stockCode;
	}
	/**
	 * 股票代码
	 * @return
	 */
	public void setStockCode(String stockCode) {
		this.stockCode = stockCode;
	}

	/**
	 * 股票名称
	 * @return
	 */
	public String getStockName() {
		return stockName;
	}
	/**
	 * 股票名称
	 * @return
	 */
	public void setStockName(String stockName) {
		this.stockName = stockName;
	}
	/**
	 * 股票板块：eg：地区板块、行业板块
	 * @return
	 */
	public String getStockBoard() {
		return stockBoard;
	}
	/**
	 * 股票板块：eg：地区板块、行业板块
	 * @return
	 */
	public void setStockBoard(String stockBoard) {
		this.stockBoard = stockBoard;
	}
	/**
	 * 股票种类：深沪市A、B、H股
	 * @return
	 */
	public String getStockType() {
		return stockType;
	}
	/**
	 * 股票种类：深沪市A、B、H股
	 * @return
	 */
	public void setStockType(String stockType) {
		this.stockType = stockType;
	}
	/**
	 * 上市日期
	 * @return
	 */
	public Date getListingDate() {
		return listingDate;
	}
	/**
	 * 上市日期
	 * @return
	 */
	public void setListingDate(Date listingDate) {
		this.listingDate = listingDate;
	}
	/**
	 * 经营范围
	 * @return
	 */
	public String getManageArea() {
		return manageArea;
	}
	/**
	 * 经营范围
	 * @return
	 */
	public void setManageArea(String manageArea) {
		this.manageArea = manageArea;
	}
	/**
	 * 主营业务
	 * @return
	 */
	public String getMainOperation() {
		return mainOperation;
	}
	/**
	 * 主营业务
	 * @return
	 */
	public void setMainOperation(String mainOperation) {
		this.mainOperation = mainOperation;
	}
	/**
	 * 中文公司名称
	 * @return
	 */
	public String getCompanyNameZh() {
		return companyNameZh;
	}
	/**
	 * 中文公司名称
	 * @return
	 */
	public void setCompanyNameZh(String companyNameZh) {
		this.companyNameZh = companyNameZh;
	}
	/**
	 * 英文公司名称
	 * @return
	 */
	public String getCompanyNameEn() {
		return companyNameEn;
	}
	/**
	 * 英文公司名称
	 * @return
	 */
	public void setCompanyNameEn(String companyNameEn) {
		this.companyNameEn = companyNameEn;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
}